/**
 * 	write on 2005-11-3 2:43:18.
 */
package org.nanhill.xmlro.sro.model;

import org.nanhill.xmlro.Deserializer;
import org.nanhill.xmlro.XmlroException;
import org.nanhill.xmlro.XmlroInput;

/**
 * @author alin
 * 
 */
public class SroNullDeserializer implements Deserializer {

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.nanhill.protocol.xmlro.model.Deserializer#readNode(org.dom4j.Node,
	 *      org.nanhill.protocol.xmlro.input.Input)
	 */
	public Object readElement(XmlroInput input) throws XmlroException {
		input.readNull();
		return null;
	}

}
